/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package bean;

/**
 *
 * @author Stuk4
 */
public class Usuario {

    private String email;
    private String password;
    /**
     * Datos de la persona que es dueña de la cuenta..
     */
    private Persona persona;

    public Usuario() {
    }

    

    public Usuario(String email, String password, Persona persona) {
        this.email = email;
        this.password = password;
        this.persona = persona;
    }

    /**
     * @return the email
     */
    public String getEmail() {
        return email;
    }

    /**
     * @param email the email to set
     */
    public void setEmail(String email) {
        this.email = email;
    }

    /**
     * @return the password
     */
    public String getPassword() {
        return password;
    }

    /**
     * @param password the password to set
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * @return the usuario
     */
    public Persona getUsuario() {
        return persona;
    }

    /**
     * @param usuario the usuario to set
     */
    public void setUsuario(Persona usuario) {
        this.persona = usuario;
    }
    


    


}
